#ifndef __FOXLogger__
#define __FOXLogger__

#include <fx.h>

#include "utils/Logger.h"

using namespace neiderra::core;
using namespace neiderra::utils;

// todo: nscript tokens logger

class FOXLogger: public Logger
{
public:
	//fixme: FOXLogger is not iStreamable
	// maybe iFOXStream?
	FOXLogger(Core* core)
	{
	}

	virtual ~FOXLogger(){}

	void setOutput(FXList* list) { _list = list; }
	virtual void log(const char* str);

private:
	FXList* _list;
};

#endif
